package com.xunji.user.vo.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@ApiModel("登录请求vo")
@Data
public class LoginRequest {

    @ApiModelProperty("登录名")
    @NotBlank(message = "登录名不能为空")
    private String loginName;


    @ApiModelProperty("密码")
    @NotBlank(message = "密码不能为空")
    private String password;
}
